<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <p>结果：<span class="result">0</span></p>
    <div class="input-group">
        <input type="text" value="0" />
        <input type="text" value="0" />
    </div>
    <div class="btn-group">
        <button type="button" data-method="plus">+</button>
        <button type="button" data-method="minus">-</button>
        <button type="button" data-method="mul">*</button>
        <button type="button" data-method="div">/</button>
    </div>
</body>

</html>